package com.mianyang.zhangsan.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author jiangjr
 * @since 2022-10-23
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sec_role_authority")
@ApiModel(value = "SecRoleAuthority对象")
public class SecRoleAuthority implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "relation_id", type = IdType.AUTO)
    private Long relationId;

    private Long roleId;

    private Long authorityId;


}
